<{include file="../common/form.tpl"}>
<input type="hidden" name="page" value="<{$page}>" />
<script type="text/javascript">
    $(function(){
    	$('input[name="sub"]').click(function(){
        	var name = $('input[name="role[RoleName]"]').val();        	
        	if(name == ''){
        		layer.alert('请填写角色名称', {icon: 2, skin: ''});
            	return false;
        	}
        	          
       });
    });
</script>